package com.zhuzg.oauth2;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

@SpringBootApplication
@MapperScan("com.zhuzg.oauth2.mapper")
@EnableDiscoveryClient
@ServletComponentScan
@EnableResourceServer
public class Oauth2ServerStart {

    public static void main(String[] args) {
        org.springframework.cloud.client.discovery.composite.reactive.ReactiveCompositeDiscoveryClientAutoConfiguration a;

        SpringApplication.run(Oauth2ServerStart.class,args);
    }

}
